<?xml version="1.0" encoding="UTF-8"?>
<!-- 
    Document   : useradd
    Created on : 2011-05-23, 14:29:32
    Author     : Karol
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <webuijsf:page id="page1">
            <webuijsf:html id="html1">
                <webuijsf:head id="head1">
                    <webuijsf:link id="link1" url="/resources/stylesheet.css"/>
                </webuijsf:head>
                <webuijsf:body id="body1" style="-rave-layout: grid">
                    <webuijsf:form id="form1" virtualFormsConfig="virtualForm1 | tabSet1:tab1:layoutPanel1:new_userType | tabSet1:tab1:layoutPanel1:new_userType">
                        <webuijsf:tabSet id="tabSet1" style="height: 526px; left: 192px; top: 240px; position: absolute; width: 694px">
                            <webuijsf:tab id="tab1" text="Dane użytkownika">
                                <webuijsf:panelLayout id="layoutPanel1" style="height: 489px; position: relative; width: 100%; -rave-layout: grid">
                                    <webuijsf:textField binding="#{useradd.new_login}" id="new_login" label="Login" required="true"
                                        style="left: 119px; top: 24px; position: absolute" validatorExpression="#{useradd.slv.validate}"/>
                                    <webuijsf:textField binding="#{useradd.new_pesel}" disabled="#{RequestBean1.showRegon}" id="new_pesel" label="PESEL"
                                        required="#{RequestBean1.showPesel}" style="left: 117px; top: 120px; position: absolute" validatorExpression="#{Page1.intwalidator.validate}"/>
                                    <webuijsf:textField binding="#{useradd.new_additionalInf}" id="new_additionalInf" label="Dodatkowe informacje"
                                        required="true" style="left: 25px; top: 432px; position: absolute" validatorExpression="#{useradd.slv.validate}"/>
                                    <webuijsf:textField binding="#{useradd.new_city}" id="new_city" label="Miasto" required="true"
                                        style="left: 112px; top: 240px; position: absolute" validatorExpression="#{useradd.slv.validate}"/>
                                    <webuijsf:textField binding="#{useradd.new_houseNr}" id="new_houseNr" label="Numer domu" required="true"
                                        style="left: 342px; top: 288px; position: absolute" validatorExpression="#{Page1.intwalidator.validate}"/>
                                    <webuijsf:textField binding="#{useradd.new_mail}" id="new_mail" label="E-mail" required="true"
                                        style="left: 117px; top: 360px; position: absolute" validatorExpression="#{useradd.ev.validate}"/>
                                    <webuijsf:dropDown binding="#{useradd.new_userType}" id="new_userType" items="#{ApplicationBean1.optUserType.options}"
                                        label="Typ użytkownika"
                                        onChange="webui.suntheme4_2.common.timeoutSubmitForm(this.form, 'tabSet1:tab1:layoutPanel1:new_userType');"
                                        style="left: 0px; top: -96px; position: absolute" validatorExpression="#{useradd.new_userType_validate}" valueChangeListenerExpression="#{useradd.new_userType_processValueChange}"/>
                                    <webuijsf:textField binding="#{useradd.new_NIP}" id="new_NIP" label="NIP" required="true"
                                        style="left: 397px; top: 168px; position: absolute" validatorExpression="#{Page1.intwalidator.validate}"/>
                                    <webuijsf:textField binding="#{useradd.new_name}" id="new_name" label="Nazwisko" required="true"
                                        style="left: 361px; top: 24px; position: absolute" validatorExpression="#{useradd.slv.validate}"/>
                                    <webuijsf:textField binding="#{useradd.new_password}" id="new_password" label="Hasło" required="true"
                                        style="left: 120px; top: 72px; position: absolute" validatorExpression="#{useradd.slv.validate}"/>
                                    <webuijsf:textField binding="#{useradd.new_phone}" id="new_phone" label="Telefon" required="true"
                                        style="left: 372px; top: 360px; position: absolute" validatorExpression="#{Page1.intwalidator.validate}"/>
                                    <webuijsf:textField binding="#{useradd.new_postCode}" id="new_postCode" label="Kod pocztowy" required="true"
                                        style="left: 337px; top: 240px; position: absolute" validatorExpression="#{Page1.intwalidator.validate}"/>
                                    <webuijsf:textField binding="#{useradd.new_regon}" disabled="#{RequestBean1.showPesel}" id="new_regon" label="REGON"
                                        required="#{RequestBean1.showRegon}" style="left: 378px; top: 120px; position: absolute" validatorExpression="#{Page1.intwalidator.validate}"/>
                                    <webuijsf:textField binding="#{useradd.new_street}" id="new_street" label="Ulica" required="true"
                                        style="left: 124px; top: 288px; position: absolute" validatorExpression="#{useradd.slv.validate}"/>
                                    <webuijsf:message for="new_login" id="message25" showDetail="false" showSummary="true" style="left: 168px; top: 48px; position: absolute"/>
                                    <webuijsf:message for="new_password" id="message26" showDetail="false" showSummary="true" style="left: 168px; top: 96px; position: absolute"/>
                                    <webuijsf:message for="new_pesel" id="message27" showDetail="false" showSummary="true" style="left: 168px; top: 144px; position: absolute"/>
                                    <webuijsf:message for="new_name" id="message28" showDetail="false" showSummary="true" style="left: 432px; top: 48px; position: absolute"/>
                                    <webuijsf:message for="new_userType" id="message29" showDetail="false" showSummary="true" style="left: 168px; top: -96px; position: absolute"/>
                                    <webuijsf:message for="new_regon" id="message30" showDetail="false" showSummary="true" style="left: 432px; top: 144px; position: absolute"/>
                                    <webuijsf:message for="new_NIP" id="message31" showDetail="false" showSummary="true" style="left: 432px; top: 192px; position: absolute"/>
                                    <webuijsf:message for="new_city" id="message32" showDetail="false" showSummary="true" style="left: 168px; top: 264px; position: absolute"/>
                                    <webuijsf:message for="new_postCode" id="message33" showDetail="false" showSummary="true" style="left: 432px; top: 264px; position: absolute"/>
                                    <webuijsf:message for="new_street" id="message34" showDetail="false" showSummary="true" style="left: 168px; top: 312px; position: absolute"/>
                                    <webuijsf:message for="new_houseNr" id="message35" showDetail="false" showSummary="true" style="left: 432px; top: 312px; position: absolute"/>
                                    <webuijsf:message for="new_mail" id="message36" showDetail="false" showSummary="true" style="left: 168px; top: 384px; position: absolute"/>
                                    <webuijsf:message for="new_phone" id="message37" showDetail="false" showSummary="true" style="left: 432px; top: 384px; position: absolute"/>
                                    <webuijsf:message for="new_additionalInf" id="message38" showDetail="false" showSummary="true" style="left: 168px; top: 456px; position: absolute"/>
                                </webuijsf:panelLayout>
                            </webuijsf:tab>
                        </webuijsf:tabSet>
                        <div style="left: 0px; top: 0px; position: absolute">
                            <jsp:directive.include file="logo.jspf"/>
                        </div>
                        <div style="left: 0px; top: 144px; position: absolute">
                            <jsp:directive.include file="menu.jspf"/>
                        </div>
                        <webuijsf:button actionExpression="#{useradd.button1_action}" id="button1"
                            style="height: 48px; left: 455px; top: 792px; position: absolute; width: 119px" text="Dodaj użytkownika"/>
                    </webuijsf:form>
                </webuijsf:body>
            </webuijsf:html>
        </webuijsf:page>
    </f:view>
</jsp:root>
